import 'package:flutter/material.dart';

class ColorConstant {
  static const Color White = Color.fromARGB(255, 255, 255, 255);
  static const Color CommonColorWhite = Color.fromARGB(255, 255, 255, 255);
  static const Color CommonColor = Color.fromARGB(255, 234, 75, 155);
  static const Color CommonColorLight = Color.fromARGB(25, 255, 83, 169);
  static const Color CommonColorBlack = Color.fromARGB(255, 0, 0, 0);
  static const Color CommonColorGray = Color.fromARGB(255, 191, 191, 191);
}

class EcyPageUtil {
  static double getStatusBarHeight(BuildContext context) {
    // return MediaQuery.of(context).padding.top;
    return 44;
  }

  static double screenWidth(BuildContext context) {
    return MediaQuery.of(context).size.width;
  }

  static double screenHeight(BuildContext context) {
    return MediaQuery.of(context).size.height;
  }

  static double getBottomSafeHeight(BuildContext context) {
    return MediaQuery.of(context).padding.bottom;
  }
}
